package com.seckill.entity;

import java.util.Date;

public class SuccessKilled {
	  private long seckillId;

	    private long userPhone;

	    private short state;

	    private Date createTime;
	    // 多对一
	    private Seckill seckill;
		public long getSeckillId() {
			return seckillId;
		}
		public void setSeckillId(long seckillId) {
			this.seckillId = seckillId;
		}
		public long getUserPhone() {
			return userPhone;
		}
		public void setUserPhone(long userPhone) {
			this.userPhone = userPhone;
		}
		public short getState() {
			return state;
		}
		public void setState(short state) {
			this.state = state;
		}
		public Date getCreateTime() {
			return createTime;
		}
		public void setCreateTime(Date createTime) {
			this.createTime = createTime;
		}
		public Seckill getSeckill() {
			return seckill;
		}
		public void setSeckill(Seckill seckill) {
			this.seckill = seckill;
		}
		@Override
		public String toString() {
			return "SuccessKilled [seckillId=" + seckillId + ", userPhone=" + userPhone + ", state=" + state
					+ ", createTime=" + createTime + ", seckill=" + seckill + "]";
		}
	    
	    
}
